﻿<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:SchedulerControl"
	xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" x:Name="userControl"
	x:Class="SchedulerControl.CalendarNavigatorControl" mc:Ignorable="d" d:DesignHeight="51" d:DesignWidth="739">
	<i:Interaction.Triggers>
		<i:EventTrigger EventName="Loaded">
			<ei:GoToStateAction TargetObject="{Binding ElementName=userControl}" StateName="NormalState"/>
		</i:EventTrigger>
	</i:Interaction.Triggers>

	<Grid x:Name="LayoutRoot">
		<VisualStateManager.VisualStateGroups>
			<VisualStateGroup x:Name="VisualStateGroup">
				<VisualStateGroup.Transitions>
					<VisualTransition GeneratedDuration="0:0:0.2"/>
				</VisualStateGroup.Transitions>
				<VisualState x:Name="NormalState">
					<Storyboard>
						<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="calendarNavigatorButton2" d:IsOptimized="True"/>
						<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="calendarNavigatorButton1" d:IsOptimized="True"/>
						<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="calendarNavigatorButton3" d:IsOptimized="True"/>
						<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="calendarNavigatorButton2">
							<DiscreteObjectKeyFrame KeyTime="0">
								<DiscreteObjectKeyFrame.Value>
									<Visibility>Collapsed</Visibility>
								</DiscreteObjectKeyFrame.Value>
							</DiscreteObjectKeyFrame>
						</ObjectAnimationUsingKeyFrames>
						<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="calendarNavigatorButton1">
							<DiscreteObjectKeyFrame KeyTime="0">
								<DiscreteObjectKeyFrame.Value>
									<Visibility>Collapsed</Visibility>
								</DiscreteObjectKeyFrame.Value>
							</DiscreteObjectKeyFrame>
						</ObjectAnimationUsingKeyFrames>
						<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="calendarNavigatorButton3">
							<DiscreteObjectKeyFrame KeyTime="0">
								<DiscreteObjectKeyFrame.Value>
									<Visibility>Collapsed</Visibility>
								</DiscreteObjectKeyFrame.Value>
							</DiscreteObjectKeyFrame>
						</ObjectAnimationUsingKeyFrames>
					</Storyboard>
				</VisualState>
				<VisualState x:Name="ExpandedState">
					<Storyboard>
						<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="calendarNavigatorButton">
							<DiscreteObjectKeyFrame KeyTime="0">
								<DiscreteObjectKeyFrame.Value>
									<Visibility>Collapsed</Visibility>
								</DiscreteObjectKeyFrame.Value>
							</DiscreteObjectKeyFrame>
						</ObjectAnimationUsingKeyFrames>
						<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="calendarNavigatorButton" d:IsOptimized="True"/>
						<DoubleAnimation Duration="0" To="30" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="calendarNavigatorButton1" d:IsOptimized="True"/>
						<DoubleAnimation Duration="0" To="60" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="calendarNavigatorButton2" d:IsOptimized="True"/>
						<DoubleAnimation Duration="0" To="2.18" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="rectangle" d:IsOptimized="True"/>
						<DoubleAnimation Duration="0" To="29.5" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="rectangle" d:IsOptimized="True"/>
						<DoubleAnimation Duration="0" To="2.18" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="rectangle1" d:IsOptimized="True"/>
						<DoubleAnimation Duration="0" To="38.35" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="rectangle1" d:IsOptimized="True"/>
					</Storyboard>
				</VisualState>
			</VisualStateGroup>
		</VisualStateManager.VisualStateGroups>
		<Rectangle x:Name="rectangle" Height="50" Margin="0,1,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5">
			<Rectangle.RenderTransform>
				<CompositeTransform/>
			</Rectangle.RenderTransform>
			<Rectangle.Fill>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="#FF3D3D3D"/>
					<GradientStop Color="#FF3D3D3D" Offset="0.812"/>
					<GradientStop Color="#FF3D3D3D" Offset="0.51"/>
					<GradientStop Color="#FF9B6420" Offset="0.958"/>
				</LinearGradientBrush>
			</Rectangle.Fill>
		</Rectangle>
		<Rectangle x:Name="rectangle1" Margin="0,16,0,0" Opacity="0.58" Height="35" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5">
			<Rectangle.RenderTransform>
				<CompositeTransform/>
			</Rectangle.RenderTransform>
			<Rectangle.Fill>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="#FF0E0E0E" Offset="0.113"/>
					<GradientStop Color="#6D454545" Offset="1"/>
					<GradientStop Color="#FF0E0E0E"/>
				</LinearGradientBrush>
			</Rectangle.Fill>
		</Rectangle>
		<local:CalendarNavigatorButton x:Name="calendarNavigatorButton" HorizontalAlignment="Right" Margin="0,16,13,10" d:LayoutOverrides="Height" Width="183" Text="شنبه 20 تير 1389">
			<i:Interaction.Triggers>
				<i:EventTrigger EventName="MouseEnter">
					<ei:GoToStateAction StateName="ExpandedState"/>
				</i:EventTrigger>
			</i:Interaction.Triggers>
		</local:CalendarNavigatorButton>
		<local:CalendarNavigatorButton x:Name="calendarNavigatorButton2" HorizontalAlignment="Right" Margin="0,16,13,10" Text="شنبه 20" Width="80" d:LayoutOverrides="Height" RenderTransformOrigin="0.5,0.5" >
			<local:CalendarNavigatorButton.RenderTransform>
				<CompositeTransform/>
			</local:CalendarNavigatorButton.RenderTransform>
		</local:CalendarNavigatorButton>
		<local:CalendarNavigatorButton x:Name="calendarNavigatorButton1" HorizontalAlignment="Right" Margin="0,16,13,10" Text="تير" Width="80" d:LayoutOverrides="Height" RenderTransformOrigin="0.5,0.5" >
			<local:CalendarNavigatorButton.RenderTransform>
				<CompositeTransform/>
			</local:CalendarNavigatorButton.RenderTransform>
		</local:CalendarNavigatorButton>
		<local:CalendarNavigatorButton x:Name="calendarNavigatorButton3" HorizontalAlignment="Right" Margin="0,16,13,10" Text="1389" Width="80" d:LayoutOverrides="Height" />
	</Grid>
</UserControl>